//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.common.mybaits;

import com.common.base.Pager;
import org.apache.ibatis.reflection.MetaObject;
import org.apache.ibatis.reflection.factory.ObjectFactory;
import org.apache.ibatis.reflection.property.PropertyTokenizer;
import org.apache.ibatis.reflection.wrapper.ObjectWrapper;

import java.util.List;

public class PagerObjectWrapper implements ObjectWrapper {
    private Pager pager;

    public PagerObjectWrapper(Pager pager) {
        this.pager = pager;
    }

    public <E> void addAll(List<E> list) {
        this.pager.setResult(list);
    }

    public Object get(PropertyTokenizer prop) {
        return null;
    }

    public void set(PropertyTokenizer prop, Object value) {
    }

    public String findProperty(String name, boolean useCamelCaseMapping) {
        return null;
    }

    public String[] getGetterNames() {
        return new String[0];
    }

    public String[] getSetterNames() {
        return new String[0];
    }

    public Class<?> getSetterType(String name) {
        return null;
    }

    public Class<?> getGetterType(String name) {
        return null;
    }

    public boolean hasSetter(String name) {
        return false;
    }

    public boolean hasGetter(String name) {
        return false;
    }

    public MetaObject instantiatePropertyValue(String name, PropertyTokenizer prop, ObjectFactory objectFactory) {
        return null;
    }

    public boolean isCollection() {
        return false;
    }

    public void add(Object element) {
    }
}
